package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.maindata.domain.ProjectScheduleDetail;
import lombok.Data;

import java.util.Date;
import java.util.List;

/***
 * 生产计划 第四版本
 */
@Data
public class ProjectScheduleVo {

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long projectId;

    private String projectNo;

    private String machineNo;

    private Long step;

    private List<ProjectScheduleDetail> items;

}
